package com.king.designpatterns.hybriddesignpattern.hybriddesignpattern.chainofcommandandresponsibility;

/**
 * LS_A类用于处理带有“-a”参数的ls命令
 *
 * @author king
 * @date 2021-06-11 15:09
 */
public class LS_A extends AbstractLS {

    @Override
    protected String echo(CommandVO vo){
        return FileManager.ls_a(vo.getCommandName());
    }

    /**
     * l参数
     */
    @Override
    protected String getOperateParam() {
        return A_PARAM;
    }
}
